<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:p="http://primefaces.prime.com.tr/ui"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:ui="http://java.sun.com/jsf/facelets">
    <h:head>
        <title>Home Page</title>
        <link href="./CSS/style.css" rel="stylesheet" type="text/css" />
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    </h:head>
    <h:body>
        <ui:composition>
            <h:form id="lgForm"><table>
                    <tr>
                        <td><h:outputText value="User Name : "/></td>
                    <td><h:inputText value="#{loginForm.username}" id="username" label="User Name"/></td>
                    </tr>
                    <tr>
                        <td><h:outputText value="Password"/></td>
                    <td><h:inputSecret value="#{loginForm.password}" id="password" label="Password"/></td>
                    </tr>
                    <tr>
                        <td></td>
                        <td><h:commandButton value="Login" action="#{loginForm.Login}"/></td>
                    </tr>
                    <tr>
                        <td colspan="2"><div>
                                <p:lightBox iframe="true" width="1000" height="450">  
                                    <h:outputLink value="./Form/Register.xhtml">  
                                        <h:outputText value="Register for FREE"/>  
                                    </h:outputLink>  
                                </p:lightBox>
                            </div> </td>
                    </tr>
                </table>
            </h:form>    
        </ui:composition>
    </h:body>
</html>